package com.job.sun;

import sun.applet.Main;

import java.util.Arrays;

/**
 * @author legion
 * @version 1.0
 * @since 2022-07-02 18:40:26
 */
public class Bubble {
//Arrays.fill(nums,7 ); 将数组nums中所有数据用7替换
    // String s = Arrays.toString(nums); 将数组中所有数据用 逗号 连接为字符串 前后有[]
    public static void main(String[] args) {
        int[] nums={25,45,10,3,54,21,68,110};
        MyTool.bubble(nums);
        System.out.println();
        System.out.println( Arrays.toString(nums));

    }

}